
public class AddGraph extends GUI{
	
public AddGraph(String name, int posX, int posY){
	this.getGraph().getModel().beginUpdate();
	Object parent = this.getGraph().getDefaultParent();
	Object v1 = this.getGraph().insertVertex(parent, null, "Q"+name, posX, posY, 20, 20);
	this.getGraph().getModel().endUpdate();
}
}
